//
//  GHGlobalMacro.h
//  GodHorses
//
//  Created by coder on 2017/11/14.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#ifndef KLGlobalMacro_h
#define KLGlobalMacro_h

#define WH_UICOLOR_FROM_RGBA(v)  [UIColor colorWithRed:((float)((v & 0xFF0000) >> 16))/255.0 green:((float)((v & 0xFF00) >> 8))/255.0  blue:((float)(v & 0xFF))/255.0 alpha:1]


#define STONEOBS_UI_UISCREEN_WIDTH                   [UIScreen mainScreen].bounds.size.width
#define UISCREEN_WIDTH                               STONEOBS_UI_UISCREEN_WIDTH
#define STONEOBS_UI_UISCREEN_HEIGHT                  [UIScreen mainScreen].bounds.size.height
#define UISCREEN_HEIGHT                               STONEOBS_UI_UISCREEN_HEIGHT
#define STONEOBS_UI_UISCREEN_FRAME                   [UIScreen mainScreen].bounds


#define STONEOBS_UI_FIRST_TEXT_COLOR              WH_UICOLOR_FROM_RGBA(0x303030)
#define STONEOBS_UI_SECEND_TEXT_COLOR             WH_UICOLOR_FROM_RGBA(0x7D7D7D)
#define STONEOBS_UI_THIRD_TEXT_COLOR              WH_UICOLOR_FROM_RGBA(0x999999)
#define STONEOBS_UI_LINE_COLOR                    WH_UICOLOR_FROM_RGBA(0xd9d9d9)


#define STONEOBS_UI_NAV_COLOR                       WH_UICOLOR_FROM_RGBA(0xEB83AC)
#define STONEOBS_UI_BACKGROUND_COLOR              WH_UICOLOR_FROM_RGBA(0xf1f2f7)
#define STONEOBS_UI_SCROLLVIEW_BACKGROUNDCOLOR    WH_UICOLOR_FROM_RGBA(0x24282B)

//主题色
#define STONEOBS_UI_THEME_BACKGROUNDCOLOR         WH_UICOLOR_FROM_RGBA(0x37CF34)
#define STONEOBS_UI_RED_BACKGROUNDCOLOR         FlatPink
#define STONEOBS_UI_BACKGROUNDCOLOR        STONEOBS_UI_THEME_BACKGROUNDCOLOR



#define STONEOBS_UI_LIVE_GIRL_RAND_IMAGE         nil

#define STONEOBS_UI_FONT_CU_NAME                    @"Helvetica-Bold"
#define PLACE_HOLDER_IMAGE_1       [UIImage imageNamed:@"happy_game_placeholder_1"]
#define PLACE_HOLDER_IMAGE_2       [UIImage imageNamed:@"happy_game_placeholder_2"]
#endif /* KLGlobalMacro_h */


